<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%--
  用户的信息展示页面
  User: gyy
  Date: 2021-04-08
  Time: 11:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户添加内容页面</title>
    <!-- Bootstrap core CSS-->
    <link href="statics/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<%--导航--%>
<c:import url="userNav.jsp"></c:import>
<div class="card-body" style="width: 40%;margin:100px auto;background-color:#FFFFFF">
    <form action="touseradd.action" method="post">
        <div class="form-group">
            <label class="form-check-label"for="userName">用户名</label>
            <input class="form-control" name="userName" id="userName" type="text" value="${userinfo.userName}" readonly="readonly" />
        </div>
        <div class="form-group">
            <label  class="form-check-label"for="aPass">密码</label>
            <input class="form-control" name="pass" id="aPass" type="password" value="${userinfo.pass}" readonly="readonly"/>
        </div>
        <div class="form-group">

                    <label class="form-check-label">性别</label><br>
            <input name="sex" value="${userinfo.sex}" readonly="readonly" type="text"/>

        </div>
        <div class="form-group">
            <label  class="form-check-label"for="birthday">出生日期</label>
            <input class="form-control" name="birthday" id="birthday" type="text" value="${userinfo.birthday}" readonly="readonly" />
        </div>
        <div class="form-group">
            <label  class="checkbox checkbox-yellow m-t-10" >爱好</label><br>
            <input type="text" value="${userinfo.like}" readonly="readonly"/>
        </div>
        <div class="form-group">
            <label  class="form-check-label"for="address">地址</label>
            <input class="form-control" name="address" id="address" type="text" value="${userinfo.address}" readonly="readonly"/>
        </div>
        <div class="form-group">
            <label  class="form-check-label"for="tel">电话</label>
            <input class="form-control" name="tel" id="tel" type="text" value="${userinfo.tel}" readonly="readonly"/>
        </div>
        <div class="form-group">
            <label class="form-check-label" for="number">训练次数</label>
            <input class="form-control" name="number" id="number" type="text" value="${userinfo.number}" readonly="readonly"/>
        </div>
        <div class="form-group" style="text-align: center">
            <input  class="form-check-label" type="submit" class="btn btn-primary btn-block" value="修改">
        </div>
    </form>

</div>
</body>
</html>
